package com.ruoyi.system.domain.tree;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.tree.CommonTree;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * 描述 实时视频树结构
 * 作者 ZhangPing
 * 创建时间 2023/8/15 14:33
 */
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Data
public class VideoTree extends CommonTree<VideoTree> {

    //设备号
    private String deviceId;
    //在线状态
    private Boolean online;
    //设备状态
    private Integer status;
    //有视频的数量
    private int hasVideoCount;
    //总数量
    private int totalCount;

    public VideoTree(SysDept dept){
        super(dept);
    }
}
